package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.ModelFlowObjectProcessInstance;
import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.ModelFlowObjectProcessInstanceDomain;

import java.util.List;

/**
 * @Description 流程对象实例ID关联接口
 * @author liujinjian
 * @date 2021-11-17
 * @version 1.0
 */
public interface FlowObjectProcessInstanceRepository {

    int deleteByPrimaryKey(Long id);

    int insert(ModelFlowObjectProcessInstance record);

    int insertSelective(ModelFlowObjectProcessInstance record);

    ModelFlowObjectProcessInstance selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ModelFlowObjectProcessInstance record);

    int updateByPrimaryKey(ModelFlowObjectProcessInstance record);

    List<ModelFlowObjectProcessInstanceDomain> getFlowObjectProcessInstanceDomailList(String objectInstancdId, String processInstanceId, String taskNodeCode);

    void updateFlowObjectProcessInstance(ModelFlowObjectProcessInstanceDomain domain);
}